package epam.marchenko.library.repository;

import java.util.List;

import epam.marchenko.library.domain.Book;
import epam.marchenko.library.domain.BookClass;

public interface BookRepository {
	Book findById(int id);
	Book find(Book book);
	List<Book> findAllForClass(BookClass bclass);
	List<Book> findAll();
	void create(Book book);
	void deleteById(int id);
	void delete(Book book);
	void update(Book book);
}
